package com.serviciosti.atenser.repository;


import java.util.Collection;

import com.serviciosti.atenser.model.entity.Customer;

/**
 *
 * @author iXav
 */
public interface CustomerRepository {

    public Collection<Customer> getAll();

    public Customer getById(Long id);
    
    Collection<Customer> findByName(String name);

    public void save(Customer customer);

    public void delete(Long id);

}
